package com.tobby.camel.camelinaction.chapter2.cbr.processor;

import org.apache.camel.Exchange;
import org.apache.camel.Processor;

public class BadOrderProcessor implements Processor {

	@Override
	public void process(Exchange exchange) throws Exception {
		System.out.println(
				"Received Bad order: " + exchange.getIn().getHeader("CamelFileName"));
	}

}
